<?php /* Smarty version 2.6.27, created on 2014-09-19 21:18:27
         compiled from D:%5Cxampp%5Chtdocs%5Cmdv25%5Cadministrator%5Ccomponents%5Ccom_civicrm%5Ccivicrm%5CCRM%5CUpgrade%5CIncremental%5Csql%5C4.5.0.mysql.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'D:\\xampp\\htdocs\\mdv25\\administrator\\components\\com_civicrm\\civicrm\\CRM\\Upgrade\\Incremental\\sql\\4.5.0.mysql.tpl', 1, false),)), $this); ?>
<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => '../CRM/Upgrade/4.5.0.msg_template/civicrm_msg_template.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

ALTER TABLE `civicrm_action_schedule`
  ADD COLUMN `sms_template_id` int(10) unsigned DEFAULT NULL COMMENT 'SMS Reminder Template. FK to id in civicrm_msg_template.' AFTER `msg_template_id`,
  ADD COLUMN `sms_body_text` longtext COLLATE utf8_unicode_ci COMMENT 'Body of the mailing in html format.' AFTER `body_html`,
  ADD CONSTRAINT `FK_civicrm_action_schedule_sms_template_id` FOREIGN KEY (`sms_template_id`) REFERENCES  civicrm_msg_template(`id`) ON DELETE SET NULL;

ALTER TABLE `civicrm_msg_template`
  ADD COLUMN `is_sms` tinyint(4) DEFAULT '0' COMMENT 'Is this message template used for sms?';
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>